import {useDebounce} from './hooks';
import React, { useEffect } from "react";

function App() {

    // const [instance] = useWindowScroll();

    const handle = useDebounce(() => {
        console.log('hello');
        
    })
    useEffect(()=>{
       
        
    })

    return(
        <div style={{height: '200vh'}} onClick={handle}>hello</div>
    )
}   

export default App;